package com.adminserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName user_permission
 */
@TableName(value ="user_permission")
@Data
public class UserPermissionEntity implements Serializable {
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 权限ID
     */
    @TableField(value = "permission_id")
    private String permissionId;

    /**
     * 权限名
     */
    @TableField(exist = false)
    private String permName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
